﻿using System;

namespace NExt.form
{
    public class TimeField : TimeField<TimeFieldEvents>
    {
    }

    public abstract class TimeField<TEvents>: ComboBox<TEvents>
        where TEvents : TimeFieldEvents, new()
    {
        public string altFormats { get; set; }
        public string format { get; set; }
        public int? increment { get; set; }
        public string maxText { get; set; }
        public DateTime? maxValue { get; set; }
        public string minText { get; set; }
        public DateTime? minValue { get; set; }
    }

    public class TimeFieldEvents: ComboBoxEvents
    {
    }
}
